package com.tcy.netlogin;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.message.BasicNameValuePair;

import android.app.Activity;
import android.view.View;
import android.view.View.OnClickListener;

public class LogoutBtnListener implements OnClickListener {
	
	private NetLoginActivity activity = null;
	
	public LogoutBtnListener(Activity activity)
	{
		this.activity = (NetLoginActivity) activity;
	}
	
	@Override
	public void onClick(View v) {
		if(Status.code == Status.ON)
		{
			activity.logout();
		}
	}
}
